package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.EcologyPoolRedPack;
import com.sc.nft.entity.dto.WebEcologyPoolRedPackPageDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌红包(sc_dao_redpack)数据Mapper
 *
 * @author jinpinhai
 * @description Generator
 * @since 2024-08-10 11:40:15
 */
@Mapper
public interface EcologyPoolRedPackMapper extends BaseMapper<EcologyPoolRedPack> {

    int redPackStatus(@Param("daoId") Long daoId);


    List<WebEcologyPoolRedPackPageDO> redPackPage(Page<EcologyPoolRedPack> page, @Param("daoId") Long daoId);
}
